import pandas as pd
import numpy as np

df = pd.DataFrame(np.array([[1,2,3],[4,5,6]]))
print(df)

print(df[0] > 2)
print(df[df[0] > 2])